import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
  state: {
    hasLogin: 1,
    userInfo: {}
  },
  mutations: {
    sethasLogin (state, val) {
      state.hasLogin = val
    }
  },
  actions: {

  }
})

export default store


